package com.wideplay.warp.security;

import com.google.inject.Module;
import com.google.inject.matcher.Matcher;

import java.lang.reflect.Method;

/**
 * Created with IntelliJ IDEA.
 * On: 25/09/2007
 *
 * @author Dhanji R. Prasanna
 * @since 1.0
 */
public interface SecurityModuleBuilder {
    AuthenticatorBuilder authenticate();

    SecurityModuleBuilder secureMethods(Matcher<? super Class<?>> classMatcher, Matcher<? super Method> methodMatcher);
        
    Module buildModule();

    AuthorizeBuilder at(String antUrlPattern);
}
